package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author : 洪俊新
 * @date : 2021/7/26 14:21
 * @description:
 */
public class LocalMerchantsDetail {
    /**
     *主键
     * 商户id
     * isnull 1
     */
    private Integer id;

    /**
     * 商户账号
     * isnull 0
     */            private String account;
    /**
     * 店铺名称
     * isnull 0
     */            private String shopName;
    /**
     * 门店名称
     * isnull 0
     */            private String merchantsName;
    /**
     * 营业开始时间
     * isnull 0
     */         @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private LocalDateTime businessStartTime;

    /**
     * 营业结束时间
     * isnull 0
     */         @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private LocalDateTime businessEndTime;
    /**
     * 店铺联系方式
     * isnull 0
     */            private String merchantsPhone;
    /**
     * 店铺所在省份
     * isnull 0
     */            private String merchantsProvince;
    /**
     * 店铺所在城市
     * isnull 0
     */            private String merchantsCity;
    /**
     * 店铺所在县区
     * isnull 0
     */            private String merchantsStreet;
    /**
     * 店铺详细地址
     * isnull 0
     */            private String merchantsDetail;
    /**
     * 描述相符评分
     * isnull 0
     */            private BigDecimal describleStar;
    /**
     * 服务评分
     * isnull 0
     */            private BigDecimal serviceStar;
    /**
     * 物流评分
     * isnull 0
     */            private BigDecimal shippingStar;
    /**
     * 店铺详情
     * isnull 0
     */            private String merchantsDetail1;
    /**
     * 入驻时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime settledTime;
    /**
     * 身份证正面
     * isnull 0
     */            private String idFront;
    /**
     * 身份证反面
     * isnull 0
     */            private String idBack;
    /**
     * 营业执照
     * isnull 0
     */            private String businessLicense;
    /**
     * 食品安全许可证
     * isnull 0
     */            private String foodLisense;
    /**
     * 直接上级账号
     * isnull 0
     */            private String directSuperAccount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getMerchantsName() {
        return merchantsName;
    }

    public void setMerchantsName(String merchantsName) {
        this.merchantsName = merchantsName;
    }

    public LocalDateTime getBusinessStartTime() {
        return businessStartTime;
    }

    public void setBusinessStartTime(LocalDateTime businessStartTime) {
        this.businessStartTime = businessStartTime;
    }

    public LocalDateTime getBusinessEndTime() {
        return businessEndTime;
    }

    public void setBusinessEndTime(LocalDateTime businessEndTime) {
        this.businessEndTime = businessEndTime;
    }

    public String getMerchantsPhone() {
        return merchantsPhone;
    }

    public void setMerchantsPhone(String merchantsPhone) {
        this.merchantsPhone = merchantsPhone;
    }

    public String getMerchantsProvince() {
        return merchantsProvince;
    }

    public void setMerchantsProvince(String merchantsProvince) {
        this.merchantsProvince = merchantsProvince;
    }

    public String getMerchantsCity() {
        return merchantsCity;
    }

    public void setMerchantsCity(String merchantsCity) {
        this.merchantsCity = merchantsCity;
    }

    public String getMerchantsStreet() {
        return merchantsStreet;
    }

    public void setMerchantsStreet(String merchantsStreet) {
        this.merchantsStreet = merchantsStreet;
    }

    public String getMerchantsDetail() {
        return merchantsDetail;
    }

    public void setMerchantsDetail(String merchantsDetail) {
        this.merchantsDetail = merchantsDetail;
    }

    public BigDecimal getDescribleStar() {
        return describleStar;
    }

    public void setDescribleStar(BigDecimal describleStar) {
        this.describleStar = describleStar;
    }

    public BigDecimal getServiceStar() {
        return serviceStar;
    }

    public void setServiceStar(BigDecimal serviceStar) {
        this.serviceStar = serviceStar;
    }

    public BigDecimal getShippingStar() {
        return shippingStar;
    }

    public void setShippingStar(BigDecimal shippingStar) {
        this.shippingStar = shippingStar;
    }

    public String getMerchantsDetail1() {
        return merchantsDetail1;
    }

    public void setMerchantsDetail1(String merchantsDetail1) {
        this.merchantsDetail1 = merchantsDetail1;
    }

    public LocalDateTime getSettledTime() {
        return settledTime;
    }

    public void setSettledTime(LocalDateTime settledTime) {
        this.settledTime = settledTime;
    }

    public String getIdFront() {
        return idFront;
    }

    public void setIdFront(String idFront) {
        this.idFront = idFront;
    }

    public String getIdBack() {
        return idBack;
    }

    public void setIdBack(String idBack) {
        this.idBack = idBack;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getFoodLisense() {
        return foodLisense;
    }

    public void setFoodLisense(String foodLisense) {
        this.foodLisense = foodLisense;
    }

    public String getDirectSuperAccount() {
        return directSuperAccount;
    }

    public void setDirectSuperAccount(String directSuperAccount) {
        this.directSuperAccount = directSuperAccount;
    }
}
